home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / cpptut22 / vehicle.h < prev    next >
C/C++ Source or Header  |  1992-01-19  |  350b  |  19 lines

  1.                                   // Chapter 7 - Program 1
  2. // vehicle header file
  3.  
  4. #ifndef VEHICLE_H
  5. #define VEHICLE_H
  6.  
  7. class vehicle {
  8. protected:
  9.    int wheels;
  10.    float weight;
  11. public:
  12.    void initialize(int in_wheels, float in_weight);
  13.    int get_wheels(void);
  14.    float get_weight(void);
  15.    float wheel_loading(void);
  16. };
  17.  
  18. #endif
  19.